import request from '@/utils/request'

// 查询退款信息日志管理列表
export function listRefundInfo(query) {
  return request({
    url: '/ruoyi/refundInfo/list',
    method: 'get',
    params: query
  })
}

// 查询退款信息日志管理详细
export function getRefundInfo(refundId) {
  return request({
    url: '/ruoyi/refundInfo/' + refundId,
    method: 'get'
  })
}

// 新增退款信息日志管理
export function addRefundInfo(data) {
  return request({
    url: '/ruoyi/refundInfo',
    method: 'post',
    data: data
  })
}

// 修改退款信息日志管理
export function updateRefundInfo(data) {
  return request({
    url: '/ruoyi/refundInfo',
    method: 'put',
    data: data
  })
}

// 删除退款信息日志管理
export function delRefundInfo(refundId) {
  return request({
    url: '/ruoyi/refundInfo/' + refundId,
    method: 'delete'
  })
}
